package com.youkeda.yikao.web.dao;

import org.apache.ibatis.jdbc.SQL;

/**
 * @author ：chenzikang
 * @date ： 2019/9/12 20:15
 */

public class QueryBuilder {
    public String query(String info,String str){
        return new SQL(){
            {
                SELECT("*");
                FROM("chenzikang_uesr_system");
                WHERE(info+ " = " +str+"");
            }
        }.toString();
    }

}
